<style type="text/css">
.text-c td img {
	width: 48px;
	height:48px;
}</style>

<link href="__PUBLIC__/css/page.css" rel="stylesheet"  type="text/css" />

<div class="pd-20">
    <if condition="$pushMsgUsers eq null ">
        <div class="row">没有结果</div>
        <else />
        <div class="mt-20">
	        <div style="padding-bottom: 10px;">
				<h3 style="padding-left: 5px;"><span>{$ppname}</span>-页面每<span style="color:red">20</span>秒刷新一次，请注意查看消息送达结果</h3>
				</div>
	        </div>
            <table class="table table-border table-bordered table-bg table-sort table-striped">
                <thead>
                    <tr class="text-c">
						<th width="25">菜篮子号</th>
                        <th width="30">昵称</th>
                        <th width="30">真名</th>
                        <th width="50">推送结果</th>
                        <th width="100">操作</th>
                    </tr>
                </thead>
                <!--{$vo.postcode}-->
                <tbody>
	                <php> $count=0; </php>
                    <volist name="pushMsgUsers" id="user" key="k">
                    	<php> $count++; </php>
                        <tr class="text-c">
							<td>{$user.basketid}</td>
                            <td class="nickname">{$user.nickname}</td>
                            <td>{$user.truename}</td>
                            <td>{$user.pushmsgresult}</td>
                            <td>
	                            <a class="btn btn-success" href="{:U('Admin/Buyer/repushMsg', array('openid' => $user['openid']))}">重新发送</a>
                            </td>
                        </tr>
                    </volist>
                </tbody>
            </table>
        </div>
    </if>
    <div class="row cl dataTables_wrapper" id="upage">
        {$Page}
    </div>
</div>
<script type="text/javascript" src="__PUBLIC__/lib/layer/layer.js"></script>
<script>
// 用户编辑
function add_edit_User(title, url, id, w, h) {
    layer_show(title, url, w, h);
}

function myrefresh(){
window.location.reload();
}
setTimeout('myrefresh()',20000); //指定1秒刷新一次
</script>
